<template>
  <div class="app2">
    子组件1
    <Child2/>
  </div>
</template>

<script setup lang="ts">
import { ref } from "vue";
import Child2 from './Child2.vue';

</script>

<style scoped>
.app2 {
  padding: 10px;
  margin: 10px;
  background-color: skyblue;
  border-radius: 5px;
  box-shadow: 0 0 10px;
}
</style>
